package com.tansty.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tansty.dao.mapper.RoleMapper;
import com.tansty.dao.mapper.UserMessagesMapper;
import com.tansty.pojo.po.Role;
import com.tansty.pojo.po.UserMessages;
import com.tansty.service.service.RoleService;
import com.tansty.service.service.UserMessagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description:  <br>
 * date: 2021/9/4 14:00 <br>
 * author: ztz <br>
 * version: 1.0 <br>
 */
@Service
public class UserMessagesServiceImpl extends ServiceImpl<UserMessagesMapper, UserMessages> implements UserMessagesService {
    @Autowired
    UserMessagesMapper userMessagesMapper;
    @Override
    public UserMessages getOne(String userName) {
        return userMessagesMapper.getOne(userName);
    }
}
